Administrator Guide 2017
Prevent saving widget
Image Title

Image Title

Prevent saving widget extends the functionality of the mandatory option on most template items.

Mandatory prevents saving based on a single item in all circumstances, whereas this widget can combine answers to create a more flexible collection of items and circumstances.


Main

Main screen for creating/amending a Prevent saving widget
Image Title

Image Title

*Warning message Enter the message that is to appear if the conditions are met
Only show when the following condition is true (1-4)

Fill in one or more of the conditions.  If none are filled in, the form can never be saved.

These prompts are advanced options which allow the section to be linked to an answer given to a question - eg if "other" has been selected from a drop down list or "no" to whether a service was deemed acceptable.  See the How to guide or refer to your magic5 expert for more information.

Formatting

Formatting the message
Image Title

Image Title

Additional display class

Display class changes the way that template items are displayed.  For more information look at the Display Classes how-to guide.

Advanced

Advanced features of a Prevent saving widget
Image Title

Image Title

Item flag

Template item flags are used to apply display classes to template item in a consistent and efficient way.  They are set up in a system list called Template item flags and might be given names such as Danger so the text appears in red, Disclaimer for smaller text, Long answer to give extra space to the answer.  This means that changing the display class can be done in one place rather than on all template items.

*Unique name

A unique name must exist for everything in a magic5 template.  It is so important that magic5 pre-fills the prompt with a non-meaningful name which it will use by default.  This does not need to be changed.

However, if the data associated with the unique name is to be used elsewhere (for example as part of a calculation, imported or exported, or carried over to a new job), it is helpful to use a meaningful name (such as RefNo, QuantityOrdered, ItemTotal, ContactName, ReasonForReferral) and this meaningful name must be entered before the template is used with real data.

If the unique name is changed at a later date, existing data will not be lost but it may no longer be accessible by magic5, in which case it cannot be displayed, used in calculations or exported.  It is therefore recommended that this is done only as a last resort and that the original template is duplicated before changes are made - this means that existing data can still be retrieved if necessary.  If in any doubt, please contact magic5 support for the best way to deal with this.

See Also